package com.作业.第八章作业.HomeWork03;

public class Professor extends Teacher{
    public Professor(String name, int age, String post, double salary, double grade) {
        super(name, age, post, salary, grade);
    }
    public void introduce(){
        System.out.println("这是教授的基本信息");
        System.out.println("姓名："+getName()+" 年龄："+getAge()+" 职称："+getPost()+" 工资："+getSalary()+" 成绩："+getGrade());
    }
}
